package com.mao.strategypattern;

public class PayContext {

    Strategy strategy;


    public PayContext(Strategy strategy) {
        this.strategy = strategy;
    }

    public Strategy getStrategy() {
        return strategy;
    }

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    

}
